Re: [HACKERS] datetime default 'now' broken? - Mailing list pgsql-hackers

From Henry B. Hotz
Subject Re: [HACKERS] datetime default 'now' broken?
Date
Msg-id v03130309b13340398d9e@[137.78.218.94]
Whole thread Raw
In response to Re: [HACKERS] datetime default 'now' broken?  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
At 9:59 PM -0800 3/15/98, Thomas G. Lockhart wrote:
>> If I create a table with a datetime field with a default of 'now',
>> every insert the value is the time of table creation instead of the
>> time of insert, which is how it behaved in previous releases (I think
>> this was even documented).
>
>I can't recall it ever working that way, though before we discovered
>that it didn't we all assumed that it _did_ work that way :)
>

I'm running 6.1.1 and I *depend* on 'now' giving me the real now in an
insert.  I guess I'm glad I never upgraded.

Signature failed Preliminary Design Review.
Feasibility of a new signature is currently being evaluated.
h.b.hotz@jpl.nasa.gov, or hbhotz@oxy.edu



pgsql-hackers by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [QUESTIONS] Re: [HACKERS] text should be a blob field
Next
From: "Jackson, DeJuan"
Date:
Subject: RE: [HACKERS] First mega-patch...